<?php
/**
 * Created by PhpStorm.
 * User: zjx
 * Date: 2017/1/12
 * Time: 14:34
 */

namespace App\Services\BymAdmin;


class AdminErrCode
{
    const REQUEST_PARAMS_ERROR = 3001;
    const REQUEST_PARAMS_EMPTY = 3002;
    const REQUEST_PARAMS_TYPE_ERROR = 3003;
    const REQUEST_PARAMS_NOT_IN_RANGE = 3004;

    const WECHAT_USER_NOT_FOUND = 4001;
    const WECHAT_USER_INFO_AUTH_NEEDED = 4004;
    const ADMIN_AUTH_NOT_FOUND = 4006;

    const REQUEST_FAILED_PASS_VALIDATE = 4007;

    const AUTHORIZER_NOT_FOUND = 4011;
    const WECHAT_USER_NOT_MATCHED = 4021;

    const OPERATOR_NOT_ALLOWED = 4031;
    const OPERATE_FAILED = 4032;

    const DB_ITEM_NOT_FOUND = 5001;
    const DB_NOT_EDITABLE = 5011;
    const DB_EDIT_FAILED = 5012;
}

